gtk: Fix various tiny typos in documentation comments
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 18 Feb 2015 10:57:05 +0000 (10:57 +0000)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 18 Feb 2015 11:38:37 +0000 (11:38 +0000)
e.g. Invalid syntax in introspection annotations, typos in object names,
accidentally using a gtk-doc comment for an internal function.

gtk/gtkcssstyleproperty.c
gtk/gtklistbox.c
gtk/gtklistbox.h
gtk/gtkmodelbutton.c
gtk/gtksettings.c
gtk/gtkwin32.c

index 9f6dca23f2db171f4e7e1277f9ef34fa56e4503a..3fe41c73d33e7fb56b003c3fd0e2f7ea8b5c315a 100644 (file)
@@ -401,7 +401,7 @@ _gtk_css_style_property_get_initial_value (GtkCssStyleProperty *property)
  * Computes a bitmask for all properties that have at least one of @flags
  * set.
  *
- * Returns: (transfer: full): A #GtkBitmask with the bit set for every
+ * Returns: (transfer full): A #GtkBitmask with the bit set for every
  *          property that has at least one of @flags set.
  */
 GtkBitmask *
index e358415e7dedd469729ad392c324a6a5e8fce23a..06ccaee784c16e819c2925ace5b52951d7d83407 100644 (file)
@@ -3338,7 +3338,7 @@ gtk_list_box_update_row_styles (GtkListBox *box)
 
 /**
  * gtk_list_box_row_set_activatable:
- * @row: a #GTkListBoxrow
+ * @row: a #GtkListBoxRow
  * @activatable: %TRUE to mark the row as activatable
  *
  * Set the #GtkListBoxRow:activatable property for this row.
index ad6d851bc0ae939bf3962a3e7456e7702db825a1..4ff8383d7914f0864bed0be09d9025ab7b5cefaf 100644 (file)
@@ -172,6 +172,7 @@ typedef void (*GtkListBoxUpdateHeaderFunc) (GtkListBoxRow *row,
 /**
  * GtkListBoxCreateWidgetFunc:
  * @item: the item from the model for which to create a widget for
+ * @user_data: (closure): user data
  *
  * Called for list boxes that are bound to a #GListModel with
  * gtk_list_box_bind_model() for each item that gets added to the model.
index 2f3cfae20e06a0e064bee01196caa5bd777c9793..a3c62bc52e043ca374de122b4026a48339402be3 100644 (file)
@@ -42,7 +42,7 @@
  *
  * GtkModelButton is a button class that can use a #GAction as its model.
  * In contrast to #GtkToggleButton or #GtkRadioButton, which can also
- * be backed by a #Gaction via the #GtkActionable:action-name property,
+ * be backed by a #GAction via the #GtkActionable:action-name property,
  * GtkModelButton will adapt its appearance according to the kind of
  * action it is backed by, and appear either as a plain, check or
  * radio button.
index e509b3025c2cabd98acb1ddb6c2be113c00f3b9b..3c9d037991611af1149ccf5568be28c89aebd071 100644 (file)
@@ -922,7 +922,7 @@ gtk_settings_class_init (GtkSettingsClass *class)
   g_assert (result == PROP_ERROR_BELL);
 
   /**
-   * GtkSettings:color-hash: (element-type utf8 Gdk.Color):
+   * GtkSettings:color-hash: (element-type utf8 Gdk.Color)
    *
    * Holds a hash table representation of the #GtkSettings:gtk-color-scheme
    * setting, mapping color names to #GdkColors.
index 15dbc1489c8939f0ed501bb3dc0b061f2e108483..4f1598ea0e138a6949920c24c892acfa0c0321db 100644 (file)
@@ -75,7 +75,7 @@ find_first_manifest (HMODULE  module_handle,
   return TRUE;
 }
 
-/**
+/*
  * Grabs the first manifest it finds in libgtk3 (which is expected to be the
  * common-controls-6.0.0.0 manifest we embedded to enable visual styles),
  * uses it to create a process-default activation context, activates that